#ifndef SHAPE_H
#define SHAPE_H
#include "Entity2D.h"
class ENGINE_API Shape : public Entity2D
{
public:
	//constructor
	Shape ();
	//-------------------------------
	//el dibujado---------------------------------------------------------------------------
	void Draw (Renderer * rkRenderer);
	//obtengo el color de la figura
	void GetColor (int &iRed, int &iGreen, int &iBlue) const;
	//seteo el color de la figura
	void SetColor (int iRed, int iGreen, int iBlue);
	//obtengo el color del vertex
	bool GetVertexColor (int iVertex, int &iRed, int &iGreen, int &iBlue);
	//asigno el color del vertex
	bool SetVertexColor (int iVertex, int iRed, int iGreen, int iBlue);
		//-------------------------------------------------------------------------
	virtual void Update (float p_fTimeBetweenFrames);
	//---------------------------------------------------------------------------
protected:
	//el vertice con el color
	ColorVertex* m_pkVertices;
	//la cantidad de vertices q tenemos
	int m_iCantVertices;
};
#endif